package com.zut.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zut.Pojo.problem.Problem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * (Problem)表数据库访问层
 *
 * @author makejava
 * @since 2023-11-05 22:08:12
 */
@Mapper
public interface ProblemDao extends BaseMapper<Problem> {

    @Select("select * from problem where title like '%${keywords}%' ")
    List<Problem> searchByLikes(String keywords);


}

